package org.chispa.api.query;

import org.chispa.api.util.BadSyntaxException;
import org.chispa.api.util.NoSuitableVisitorException;
import org.chispa.api.visitors.ParamVisitor;

public interface ParamWrapper<T,R,S> {

	R acceptHash(ParamVisitor<T,R,S> visitor) throws NoSuitableVisitorException, BadSyntaxException;
	
	S acceptEnc(ParamVisitor<T, R,S> visitor) throws NoSuitableVisitorException;
	
	T getWrappedParam();
}
